//
//  CRSessionCellMessageProtocol.h
//  TestPrj
//
//  Created by 朱铅峰 on 2020/8/13.
//  Copyright © 2020 Xing. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CRMessageModel.h"
#import "CRKitEvent.h"
#import "CRMessage.h"

@protocol CRSessionCellMessageProtocol <NSObject>

#pragma mark - cell 样式更改

- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath;

- (BOOL)disableAudioPlayedStatusIcon:(CRMessage *)message;

#pragma mark - 点击事件
- (BOOL)onTapCell:(CRKitEvent *)event;

- (BOOL)onLongPressCell:(CRMessage *)message
                 inView:(UIView *)view;

- (BOOL)onTapAvatar:(CRMessage *)message;

- (BOOL)onLongPressAvatar:(CRMessage *)message;

- (BOOL)onPressReadLabel:(CRMessage *)message;

- (void)onRetryMessage:(CRMessage *)message;

- (void)onSelectedMessage:(BOOL)selected message:(CRMessage *)message;

- (void)onClickReplyButton:(CRMessage *)message;

@end
